home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / gw15pak.arc / GWAR15.ARC / DATAFILE.TXT < prev    next >
Text File  |  1989-12-18  |  5KB  |  117 lines

  1. GLOBAL WAR data file documentation
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Revised for Global War version 1.5
  4.  
  5. This file documents the contents of your WARxx.DAT and WARxx.REC files.
  6. These files contain all the information for GLOBAL WAR games in progress,
  7. in signup mode, and after completion.
  8.  
  9. FILE CONTENTS:
  10. ~~~~~~~~~~~~~~
  11. Note: "daynum" refers to a real number which is the number of days since
  12. January 1, 1985.   Example: a daynum of 1671.6039 works out to be
  13. July 30, 1989 (1/1/85 + 1671 days).  Adding another .6039 days works out
  14. to be 14.4936 hours, which puts us at about 2:29 pm.
  15.  
  16. Line Description    Range
  17. ~~~~ ~~~~~~~~~~~    ~~~~~~
  18.    1 Game_Event     (0..166)
  19.        0 = Normal game, not started
  20.        1 = Normal game, in progress
  21.        2 = Normal game, completed and awaiting auto-deletion.
  22.        3 = Team   game, not started
  23.        4 = Team   game, in progress
  24.        5 = Team   game, completed and awaiting auto-deletion.
  25.       33 = Normal game,   3 players, not started
  26.       34 = Normal game, 3-4 players, not started
  27.       35 = Normal game, 3-5 players, not started
  28.       36 = Normal game, 3-6 players, not started
  29.       44 = Normal game,   4 players, not started
  30.       45 = Normal game, 4-5 players, not started
  31.       46 = Normal game, 4-6 players, not started
  32.       55 = Normal game,   5 players, not started
  33.       56 = Normal game, 5-6 players, not started
  34.       66 = Normal game,   6 players, not started
  35.  
  36.       100 is added to Game_Event value if Hidden names are in effect.
  37.  
  38.    2 Event_Day      daynum
  39.        The daynum that Game_Event occurred.
  40.  
  41.    3 Player_Name    17-Char String    \
  42.        The Player's Name                \
  43.                                           \
  44.    4 Player_Vote    1-Character             \
  45.        The Player's Vote to start the game,   \
  46.        "T" or "F" for Yes or No.                \
  47.                                                  | This is player 1's
  48.    5 Player_Moved   daynum                       | data.
  49.        daynum that the player last took a turn.  | This data is repeated
  50.                                                  | 5 more times for the
  51.    6 Cmd_General    1..5                         | remaining 5 players.
  52.        Number of Commendations from the          | A Player_Name of NONE
  53.        General this player holds.                | denotes no player.
  54.                                                  |
  55.    7 Cmd_King       1..5                         |
  56.        Number of Commendations from the         /
  57.        King this player holds.                /
  58.                                             /
  59.    8 Cmd_Queen      1..5                  /
  60.        Number of Commendations from the /
  61.        Queen this player holds.       /
  62.  
  63.   39 Cmd_Sets       INTEGER
  64.        Number of Sets of Commendations turned in for additional armies.
  65.  
  66.   40 Armies         INTEGER              \
  67.        Number of armies on the country.    \  This data is for Country #1
  68.                                             | (Afghanistan) and is repeated
  69.   41 Owner          1..6                   /  for the remaining 41 countries.
  70.        Player who occupies this country. /
  71.  
  72.  124 Team 1 password \
  73.                       \
  74.  125 Team 2 password   |- If GameEvent = 3, these are the passwords req'd for
  75.                       /   a player to join a team.
  76.  126 Team 3 password /
  77.  
  78. Country numbers:
  79.    1 Afghanistan   13 France      25 W. Africa   37 Ural
  80.    2 Alaska        14 Greenland   26 Germany     38 Venezuela
  81.    3 Alberta       15 England     27 Yukon       39 W. Australia
  82.    4 Argentina     16 India       28 Ontario     40 Spain
  83.    5 Brazil        17 Borneo      29 Peru        41 W. US
  84.    6 Mexico        18 Irkutsk     30 Quebec      42 Taimyr
  85.    7 China         19 Japan       31 Scandinavia
  86.    8 Zaire         20 Kamchatka   32 Siam
  87.    9 E. Africa     21 Madagascar  33 Siberia
  88.   10 E. Australia  22 Iran        34 S. Africa
  89.   11 E. US         23 Mongolia    35 Italy
  90.   12 Libya         24 New Guinea  36 Ukraine
  91.  
  92. Recovered games:
  93. ~~~~~~~~~~~~~~~~
  94. In the event of a loss of carrier, the game is saved in a file called
  95. WARxx.REC (where xx is the game number).  If the player then calls back
  96. his turn will be resumed right where he left off.  If another player calls
  97. back first and takes his turn, this file is deleted and the original game
  98. (WARxx.DAT) is used instead.
  99.  
  100. WARxx.REC file format is the same as WARxx.DAT format except the following
  101. prefix data appears before the game data:
  102.  
  103. LINE 1: PlayerNumber      The player number (1-6) of the player who lost
  104.                           connection.
  105.  
  106. LINE 2: LastPlay          What the player was doing when he lost connection.
  107.                           0=Deploying armies, 1=Attacking, 2=Fortifying
  108.  
  109. LINE 3: ArmiesToDeploy    If the player was deploying armies, this is the
  110.                           number of armies still left to deploy.
  111.  
  112. LINE 4: Map               This is the map which was displayed when carrier
  113.                           was lost.  1=Globe 2=Africa 3=Asia 4=Australia
  114.                           5=Europe 6=N.America 7=S.America
  115.  
  116. The remainder of the data is as documented above.
  117.